@echo off
chcp 65001 >nul
echo C++ Demo Programs Runner
echo ========================

:menu
echo.
echo Please select a demo program to run:
echo 1. Hello World Comparison Demo
echo 2. String Processing Comparison Demo
echo 3. Object-Oriented Programming Demo
echo 4. STL Standard Library Demo
echo 5. Universal Header Demo
echo 6. Run All Demos
echo 0. Exit
echo.
set /p choice=Enter your choice (0-6): 

if "%choice%"=="1" goto hello
if "%choice%"=="2" goto string
if "%choice%"=="3" goto oop
if "%choice%"=="4" goto stl
if "%choice%"=="5" goto universal
if "%choice%"=="6" goto all
if "%choice%"=="0" goto end
goto menu

:hello
echo.
echo === Hello World Comparison Demo ===
hello_world_comparison.exe
pause
goto menu

:string
echo.
echo === String Processing Comparison Demo ===
string_comparison.exe
pause
goto menu

:oop
echo.
echo === Object-Oriented Programming Demo ===
oop_demo.exe
pause
goto menu

:stl
echo.
echo === STL Standard Library Demo ===
stl_demo.exe
pause
goto menu

:universal
echo.
echo === Universal Header Demo ===
universal_header_demo.exe
pause
goto menu

:all
echo.
echo === Running All Demos ===
echo.
echo 1. Hello World Comparison Demo
echo ===============================
hello_world_comparison.exe
echo.
echo 2. String Processing Comparison Demo
echo ====================================
string_comparison.exe
echo.
echo 3. Object-Oriented Programming Demo
echo ===================================
oop_demo.exe
echo.
echo 4. STL Standard Library Demo
echo ============================
stl_demo.exe
echo.
echo 5. Universal Header Demo
echo ========================
universal_header_demo.exe
echo.
echo All demos completed!
pause
goto menu

:end
echo Goodbye!